<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
<head>
<base href="<%=basePath%>">
<link rel="stylesheet" type="text/css" href="/resources/css/ext-all.css" />
	<script type="text/javascript" src="/extjs/ext-base.js">
</script>
<script type="text/javascript" src="/extjs/ext-all.js">
</script>
<script type="text/javascript" src="/extjs/ext-lang-zh_CN.js">
</script>
	<script type="text/javascript">
	
	Ext.onReady(function(){
	
		var _panel = new Ext.Panel({
				title:"登 陆",
				frame:true,
				width:260,
				height:130,
				layout:"form",
				labelWidth:45,
				listeners:{
					"render":function(_panel){
								
								_panel.add({xtype:"textfield" , fieldLabel:"账号" , width:180}) ;
								
								_panel.add({xtype:"textfield" , fieldLabel:"密码" , width:180}) ;
							 }
				}
			}) ;
			
		_panel.addButton({text:"确 定"}) ;
								
		_panel.addButton({text:"取 消"}) ;
		
		_panel.applyToMarkup(Ext.DomHelper.append(Ext.getBody(), {
							tag:"div",
							cls:"contain",
							cn:[{
								tag:"div",
								cls:"center"
							}]
					  } , true).child("div")) ;
		
	}) ;
	
</script>
</head>

<body>
</body>
</html>